package com.lm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author Lenovo
 * @version 1.0
 * @description: TODO 服务记录
 * @date 2025/9/22 9:10
 */

@Data
@TableName("service_record")
public class Serve {
    @TableId(value ="service_record_id",type = IdType.AUTO)
    private int serviceRecordId;//记录id
    private int serviceDoctorId;//医生id
    private Date serviceRecordDate;//服务时间
    private String serviceRecordContent;//服务内容
    private String serviceRecordFeedback;//居民反馈
    private int serviceRecordState;//服务状态（1待进行，2已完成，3已取消，4已驳回）
    private int serviceOrgId;//服务机构id
    private int serviceDoctorTeamId;//服务团队id
    private int servicePackageId;//服务包id
    private int serviceItemId;//服务项目id
    private String serviceDesc;//服务备注
    private String serviceInfo;//驳回原因
    private int serviceResidentId;//居民id
    private Date residentBirthDate;//出生日期
    private String residentAddress;//现居地
    private Date serviceRecordApplyDate;//申请时间
    private String serviceCancel;//取消原因
    private String residentName;//居民姓名
    private String residentIdCard;//身份证号
    private String residentGender;//性别
    private String servicePackageName;//服务包名
    private String serviceItemName;//服务项目名
    private String residentPhone;//手机号
    private String serviceNumber;//服务编号
    private Integer PageNo;  //页码
    private Integer PageSize;  //每页数量
    private Date startTime;//开始时间
    private Date endTime;//结束时间
    private String orgName;
    private String docterTeaName;//服务团队
    private String docterName;//服务医生

    private String  bloodPressure;//血压
    private int bloodGlucose;//血糖
    private int heartRate;//心率
    private String diseaseDesc;//病情描述
    private String healthGuidance;//健康指导

    @TableField(exist = false)
    private List<String> tagsName; // 查询列表展示标签名称



}
